export const fields = [
    {
        prop: 'avatar',
        label: '商家头像',
        type: 'image',
        width: 120,
    },
    {
        prop: 'userId',
        label: '所属用户',
        type: 'number',
        width: 120,
    },
    {
        prop: 'name',
        label: '商家名称',
        type: 'text',
        search: true,
        width: 170,
    },
    {
        prop: 'rating',
        label: '评分',
        type: 'rating',
        width: 160,
    },
    {
        prop: 'address',
        label: '商家地址',
        type: 'text',
        search: true,
        width: 170,
    },
    {
        prop: 'location',
        label: '商家经纬度',
        type: 'text',
        width: 170,
    },
    {
        prop: 'deliveryTime',
        label: '配送时间',
        type: 'text',
        width: 170,
    },
    {
        prop: 'announcement',
        label: '商家公告',
        type: 'text',
        width: 170,
        required: false,
    },
    {
        prop: 'createTime',
        label: '创建时间',
        type: 'datetime',
        formHidden: true,
        width: 190,
    }
]